const getters = {
    // 动态路由菜单
    addRouters: state => state.permission.addRouters,
    routers: state => state.permission.routers,
    permission: state => state.permission.permission,
    operationPermission: state => state.permission.operationPermission,
    // 用户信息
    token: state => state.user.token,
    userInfo: state => state.user.info,
    roles: state => state.user.roles,
    userPermissions: state => state.user.permissions,
    // 选项卡
    multiTab: state => state.multiTab.multiTab,
    activeKey: state => state.multiTab.activeKey,
    cachedViews: state => state.multiTab.cachedViews
}
export default getters